{include file="Public:header" /}
<body>
<div class="wrap">
    <!--碎屑路径-->
    <div class="debris_nav">
        <ol class="breadcrumb">
            <li><a href="#">系统设置</a></li>
            <li class="active">网站设置</li>
        </ol>
    </div>
    <div class="blank"></div>
    <!--列表内容-->
    <div class="content" id="content_page">
        <form method="post" action="{:url('site/edit_ok')}">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_add">
            <tr>
                <td valign="top">系统名称</td>
                <td>
                    <input name="name" value="{$res.name}" class="form-control" placeholder="请填写系统标题" size="60"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>后台系统标题显示</span>
                </td>
            </tr>
            <tr>
                <td valign="top">网站标题</td>
                <td>
                    <input name="title" value="{$res.title}" class="form-control" placeholder="请填写网站标题" size="60"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>将在前台模板显示 最长不能超80个字节</span>
                </td>
            </tr>
            <tr>
                <td valign="top">SEO关键字</td>
                <td>
                    <input name="keyword" value="{$res.keyword}" class="form-control" placeholder="请填写SEO关键字" size="60"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>请勿超过60个字节</span>
                </td>
            </tr>
            <tr>
                <td valign="top">描述</td>
                <td>
                    <textarea name="description" class="form-control" rows="3" style="width: 350px;resize:none;">{$res.description}</textarea><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>请勿超过100个字节</span>
                </td>
            </tr>
            <tr>
            <td valign="top">启用网站</td>
            <td>
                <select name="site_open" class="form-control" >
                    {$res.site_open_opt}
                </select>
            </td>
            </tr>
            <tr>
                <td valign="top">电话/手机</td>
                <td>
                    <input name="phone" value="{$res.phone}" class="form-control" placeholder="" size="30"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">QQ/旺旺</td>
                <td>
                    <input name="qw" value="{$res.qw}" class="form-control" placeholder="" size="30"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">地址</td>
                <td>
                    <input name="address" value="{$res.address}" class="form-control" placeholder="" size="60"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">验证码启用</td>
                <td>
                    <div class="checkbox_text ">
                        <label class="checkbox" ><input name="admin_login" type="checkbox" value="1"  {if condition="$res.captcha_arr.admin_login eq 1"}checked{/if}/>后台登录</label>
                        <label class="checkbox" ><input name="index_login" type="checkbox" value="1"  {if condition="$res.captcha_arr.index_login eq 1"}checked{/if}/>前台登录</label>
                        <label class="checkbox" ><input name="index_comment" type="checkbox" value="1"  {if condition="$res.captcha_arr.index_comment eq 1"}checked{/if}/>评论发布</label><br>
                    </div>
                </td>
            </tr>
            <tr>
                <td valign="top">模板风格</td>
                <td>
                    <select name="template" class="form-control">
                        <option value="default">default</option>

                    </select>

                </td>
            </tr>
            <tr>
                <td valign="top">IP地址库</td>
                <td>
                    <select name="ip_library" class="form-control">
                        <option value="1" {if condition="$res.ip_library eq 1"} selected{/if}>淘宝</option>
                        <option value="2" {if condition="$res.ip_library eq 2"} selected{/if}>新浪</option>
                    </select>

                </td>
            </tr>
            <tr>
                <td valign="top">ICP备案号</td>
                <td>
                    <input name="icp" value="{$res.icp}" class="form-control" size="30"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">第三方代码</td>
                <td>
                    <textarea name="other" class="form-control" rows="5" cols="80">{$res.other}</textarea><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>第三方工具代码</span>
                </td>
            </tr>

            <tr>
            <tr>
                <td valign="top"></td>
                <td>
                    <input type="submit" class="btn" value="确定">
                </td>
            </tr>
            <tr>
        </table>
            </form>
    </div>
    <!--列表内容-->
</div>
</body>
<script>
</script>
</html>